home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Top 100 Games
/
Top 100 Games.iso
/
worms
/
WORMS.BAT
next >
Wrap
DOS Batch File
|
1997-11-01
|
1KB
|
52 lines
@echo off
cls
if x%1 == xinstall goto install
if x%1 == xreins goto reins
if not exist c:\ts\worms\worms.exe goto temp
:install
if exist c:\ts\worms\worms.exe goto insready
:reins
if exist c:\ts\ts goto install2
md c:\ts > NUL:
echo ts > c:\ts\ts
:install2
md c:\ts\worms > NUL:
\pkunzip -od worms.zip c:\ts\worms > NUL:
:insready
c:
cd \ts\worms
worms.exe
goto einde
:temp
md c:\ts_tmp > NUL:
if not exist c:\ts_y copy \y c:\ts_y > NUL:
\pkunzip -od worms.zip c:\ts_tmp > NUL:
c:
cd \ts_tmp
worms.exe
c:
cd \
del c:\ts_tmp\data\audio\*.* < c:\ts_y > NUL:
rd c:\ts_tmp\data\audio
del c:\ts_tmp\data\hell\*.* < c:\ts_y > NUL:
rd c:\ts_tmp\data\hell
del c:\ts_tmp\data\mars\*.* < c:\ts_y > NUL:
rd c:\ts_tmp\data\mars
del c:\ts_tmp\data\pics\*.* < c:\ts_y > NUL:
rd c:\ts_tmp\data\pics
del c:\ts_tmp\data\snow\*.* < c:\ts_y > NUL:
rd c:\ts_tmp\data\snow
del c:\ts_tmp\data\*.* < c:\ts_y > NUL:
rd c:\ts_tmp\data
del c:\ts_tmp\*.* < c:\ts_y > NUL:
rd c:\ts_tmp
del c:\ts_y > NUL:
goto einde
:einde
@echo off
cls